<%@include file="/pub/import.jsp"%>
<%@include file="/pub/header.jsp"%>
<%
    Project project = ProjectHandler.getProject(RequestUtil.getIntParameter(request,"id",0));
    
    List<User> userList = new ArrayList<User>();
    
    String users = project.getScoreUser();
    if(!StringUtils.isEmpty(users)) {
      String[] userArr = users.split(",");
      for(String userId : userArr) {
        userList.add(UserHandler.getUser(Integer.parseInt(userId)));
      }
    }
    
    context.put("userList", userList); 
    context.put("project", project);
    context.put("DateUtil", new DateUtil());
    out.println(TemplateUtil.getOutput(context,"/view/project/showProjectInfo.html"));
%>
<%@include file="/pub/footer.jsp"%>
